package com.cx.mybatisgenerator.mapper;

import com.cx.mybatisgenerator.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from user where id=#{id}")
    public User getById(Integer id);
}
